﻿<%@ Page language="c#" Codebehind="bloggercomments.aspx.cs" AutoEventWireup="true" Inherits="client.bloggercomments" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>forumMain</title>
		<meta content="False" name="vs_snapToGrid">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<LINK href="../springofwater.css" type="text/css" rel="stylesheet">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body >
		<div align="center">
			<form id="Form1" method="post" runat="server">
				<div align="center">
					<table id="table891" width="80%" border="0">
						<tr>
							<td align="center">
								<% Server.Execute("header.aspx");%>
							</td>
						</tr>
					</table>
				</div>
				<div align="center">
					<table style="WIDTH: 779px; HEIGHT: 25px" cellSpacing="0" cellPadding="0" align="center"
						border="0">
						<tr>
							<td>
								<ul style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 98.87%; PADDING-TOP: 0px; FONT-FAMILY: SimSun; LIST-STYLE-TYPE: none; HEIGHT: 25px; BACKGROUND-COLOR: white">
									<li style="DISPLAY: inline">
										<A class="menu" href="index.aspx">泉源首页</A>
									<li style="DISPLAY: inline">
										<A class="menu" href="forumsStart.aspx">泉源论坛</A>
									<li style="DISPLAY: inline">
										<A class="selected" href="bloggermain.aspx">泉源博客</A>
									<li style="DISPLAY: inline">
										<A class="empty" href="jianzao.aspx"></A>
									<li style="DISPLAY: inline">
										<A class="menu" href="dengji.aspx">注册登记</A>
									<li style="DISPLAY: inline">
										<A class="menu" href="women.aspx">关于我们</A>
									<li style="DISPLAY: inline">
										<A class="menu" href="mailto:contact@springofwater.net">联络我们</A>
									</li>
								</ul>
							</td>
						</tr>
					</table>
					<TABLE id="Table1" style="WIDTH: 777px; HEIGHT: 144px" borderColor="#0066cc" cellSpacing="0"
						cellPadding="0" width="777" border="1">
						<TR>
							<TD vAlign="top" align="left">
								<TABLE id="Table3" style="WIDTH: 781px; HEIGHT: 42px" borderColor="#5d9dd1" cellSpacing="0"
									cellPadding="0" border="0">
									<TBODY>
										<TR>
											<TD vAlign="top" align="left" bgColor="#0099ff" colSpan="1" rowSpan="1">
												<TABLE id="Table6" style="WIDTH: 773px; HEIGHT: 19px" cellSpacing="0" cellPadding="0" width="773"
													border="0">
													<TR>
														<TD style="WIDTH: 10%"><asp:button id="Button1" runat="server" BackColor="LightSeaGreen" Text="  博客浏览" OnClick="Button1_Click1"></asp:button></TD>
														<TD style="WIDTH: 10%"><asp:button id="Button2" runat="server" BackColor="LightSeaGreen" Text="发表新文章" OnClick="Button2_Click1"></asp:button></TD>
														<TD style="WIDTH: 10%"><asp:button id="Button3" runat="server" BackColor="LightSeaGreen" Text="文章列表/编辑" OnClick="Button3_Click1"></asp:button></TD>
														<TD style="WIDTH: 10%"><asp:button id="Button4" runat="server" BackColor="LightSeaGreen" Text="评论列表/编辑" BorderStyle="Inset"
																BorderColor="Lime" OnClick="Button4_Click1"></asp:button></TD>
														<TD style="WIDTH: 60%"></TD>
													</TR>
												</TABLE>
											</TD>
										</TR>
										<TR>
											<TD vAlign="top" align="left" bgColor="#ffffff">
												<TABLE id="Table2" style="WIDTH: 776px; HEIGHT: 27px" cellSpacing="0" cellPadding="0" width="776"
													bgColor="#cccccc" border="0">
													<TR>
														<TD style="HEIGHT: 15px"></TD>
													</TR>
													<TR>
														<TD style="HEIGHT: 12px"><FONT color="#0000ff"><FONT size="2">显示评论条数:&nbsp; </FONT>
																<asp:dropdownlist id="DropDownList1" runat="server" AutoPostBack="True" Width="42px" Height="8px">
																	<asp:ListItem Value="10">10</asp:ListItem>
																	<asp:ListItem Value="20" Selected="True">20</asp:ListItem>
																	<asp:ListItem Value="50">50</asp:ListItem>
																	<asp:ListItem Value="1000">全部</asp:ListItem>
																</asp:dropdownlist></FONT></TD>
													</TR>
													<TR>
														<TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
													</TR>
												</TABLE>
											</TD>
										</TR>
										<TR>
											<TD vAlign="top" align="left" bgColor="#ffffff">
												<TABLE id="Table5" style="WIDTH: 772px; HEIGHT: 19px" cellSpacing="1" cellPadding="0" width="772"
													border="0">
													<TR align="center" bgColor="#cccccc">
														<TD style="WIDTH: 30%" vAlign="middle" align="left" colSpan="1" rowSpan="1"><FONT color="#009900" size="2">评论</FONT></TD>
														<TD style="WIDTH: 30%" vAlign="middle" align="left"><FONT color="#009900" size="2">所在文章</FONT></TD>
														<TD style="WIDTH: 20%" vAlign="middle" align="left"><FONT color="#009900" size="2">日期</FONT></TD>
														<TD style="WIDTH: 10%"><FONT color="#009900" size="2">评论人</FONT></TD>
														<TD style="WIDTH: 10%"></TD>
													</TR>
												</TABLE>
											</TD>
										</TR>
										<TR>
											<TD vAlign="top" align="left" bgColor="#ffffff">
												<TABLE id="Table4" style="WIDTH: 774px" height="78" cellSpacing="0" cellPadding="0" width="774"
													border="0">
													<ASP:REPEATER id="MyRepeater" runat="server">
														<ItemTemplate>
															<TR style="FONT-SIZE: smaller">
																<TD style="WIDTH: 30%"><%# Utilities.Helper.FindLeadingWords(System.Convert.ToString(((System.Data.DataRowView)Container.DataItem)["body"]),20) %></TD>
																<TD style="WIDTH: 30%"><%#  DataBinder.Eval(Container.DataItem, "OriginalSubject")%></TD>
																<TD style="WIDTH: 20%"><%# Utilities.Helper.formatDate(DataBinder.Eval(Container.DataItem, "CreateDate")) %></TD>
																<TD style="WIDTH: 10%"><%# DataBinder.Eval(Container.DataItem, "UserID") %></TD>
																<TD align="center" style="WIDTH: 10%">
																	<asp:CheckBox Enabled="True" ID="Checkbox5" Checked="false" EnableViewState="true" Runat="server"></asp:CheckBox>
																</TD>
																<td>
																	<asp:Label visible=False Text='<%# DataBinder.Eval(Container.DataItem, "PostID") %>' Runat="server" ID="Label1" NAME="Label1"/>
																</td>
															</TR>
														</ItemTemplate>
														<AlternatingItemTemplate>
															<tr bgcolor="AliceBlue" style="FONT-SIZE: smaller">
																<TD style="WIDTH: 30%"><%# Utilities.Helper.FindLeadingWords(System.Convert.ToString(((System.Data.DataRowView)Container.DataItem)["body"]),20) %></TD>
																<TD style="WIDTH: 30%"><%#  DataBinder.Eval(Container.DataItem, "OriginalSubject")%></TD>
																<TD style="WIDTH: 20%"><%# Utilities.Helper.formatDate(DataBinder.Eval(Container.DataItem, "CreateDate")) %></TD>
																<TD style="WIDTH: 10%"><%# DataBinder.Eval(Container.DataItem, "UserID") %></TD>
																<TD align="center" style="WIDTH: 10%">
																	<asp:CheckBox Enabled="True" ID="Checkbox1" Checked="false" EnableViewState="true" Runat="server"></asp:CheckBox>
																</TD>
																<asp:Label visible=False Text='<%# DataBinder.Eval(Container.DataItem, "PostID") %>' Runat="server" ID="Label2" NAME="Label1"/>
											</TD>
										</TR>
									</AlternatingItemTemplate> </ASP:REPEATER></TABLE>
							</TD>
						</TR>
						<TR>
							<TD vAlign="top" align="right" bgColor="#cccccc"><asp:button id="Button5" runat="server" Text="选中删除" Width="66px" OnClick="Button5_Click1"></asp:button></TD>
						</TR>
						<TR>
							<TD vAlign="top" align="left" bgColor="#ffffff"></TD>
						</TR>
					</TABLE>
					</TD></TR> </TABLE></div>
				 
			</form>
			&nbsp;
		</div>
		<DIV align="center">
			<table id="table81" width="80%" border="0">
				<tr>
					<td align="center">
						<% Server.Execute("tail.aspx");%>
					</td>
				</tr>
			</table>
	</body>
</HTML>
